###
 # @Company: TWL
 # @Author: xue jian
 # @Email: xuejian@kanzhun.com
 # @Date: 2020-06-23 21:17:27
### 

del_down_rank_chat_fids(){
    day=$1
    rm -rf /data3/training_data/arc_six/bossrec_chat_fid_flow/$day
}

del_rank_chat_fids_cut(){
    day=$1
    rm -rf /data3/training_data/arc_six/bossrec_chat_fid_flow_cut/$day
}

main(){
    datebeg=$1
    dateend=$2
    beg_s=`date -d "$datebeg" +%s`
    end_s=`date -d "$dateend" +%s`
    while [ "$beg_s" -le "$end_s" ]
    do
        tmp=`date -d @$beg_s +"%Y-%m-%d"`
        echo $tmp
        # del_down_rank_chat_fids $tmp
        del_rank_chat_fids_cut $tmp
        beg_s=$((beg_s+86400))
    done
}

main 2020-06-11 2020-06-21